package com.shop.server.mapper;

import com.shop.common.pojo.User;
import com.shop.server.pojo.RegisterUser;

import java.util.List;

public interface UserMapper {

    /**
     * 增加
     * @param user
     * @return
     */
    int insert(User user);

    /**
     * 根据手机查询用户
     * @param phone
     * @return
     */
    User findByPhone(String phone);
}